Package com.cisco.pt.ipc.sim.impl
Class SyslogServerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.SyslogServerImpl
- All Implemented Interfaces:
IPCObject,Process,SyslogServer
Information provided by the PKI file:
\class SyslogServer
\brief SyslogServer handles and manipulates the Syslog service.
\example network().getDevice("Server0").getProcess("SyslogServer")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionSyslogServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:booleanInformation provided by the PKI file:voidsetEnable(boolean bEnable) Information provided by the PKI file:voidsetPortNumber(Short portNum) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
SyslogServerImpl
public SyslogServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setEnable
public void setEnable(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables the Syslog service. \param bEnable, true to enable the Syslog service, false to disable it.- Specified by:
setEnablein interfaceSyslogServer- Parameters:
bEnable- Takes in a parameter of bEnable
-
isEnabled
public boolean isEnabled()Information provided by the PKI file:
\brief Returns true if the Syslog service is enabled, otherwise false. \return bool, true if the Syslog service is enabled, otherwise false.- Specified by:
isEnabledin interfaceSyslogServer- Returns:
- boolean Returns a boolean
-
setPortNumber
Information provided by the PKI file:
\brief Sets the port number for the Syslog service. \param portNum, the port number for the Syslog service.- Specified by:
setPortNumberin interfaceSyslogServer- Parameters:
portNum- Takes in a parameter of portNum
-
getPortNumber
Information provided by the PKI file:
\brief Returns the port number for the Syslog service. \return short, the port number for the Syslog service.- Specified by:
getPortNumberin interfaceSyslogServer- Returns:
- Short Returns a Short
-
getAllEntries
Information provided by the PKI file:
\brief Returns all Syslog entries. \return vector of Syslog Entry- Specified by:
getAllEntriesin interfaceSyslogServer- Returns:
- List<SyslogEntry> Returns a List<SyslogEntry>
-
clearAllSysLogEntries
public void clearAllSysLogEntries()Information provided by the PKI file:
\brief Clear all syslog entries- Specified by:
clearAllSysLogEntriesin interfaceSyslogServer
-